#ifndef _LED_DISPLAY_H_
#define _LED_DISPLAY_H_




#define WRITE_EMPTY_NUM			80
#define LED_MAX_LENGTH			158
#define LED_MIN_LENGTH			1
#define BUF_MAX_SIZE			160


enum _Refresh_Status{
	POSITIVE_MODE = 0,
	REVERSE_MODE
};

enum _ShakeLed_Status{
	SHAKELED_STOP = 0,
	SHAKELED_START,
	SHAKELED_SWITCH
};

struct _Led_Para{
	char GetKeyFlag;
	char Display_Flag;
	int imageNum;
	enum _Refresh_Status Refresh_Status;
	enum _ShakeLed_Status ShakeLed_Status;
	int EmptyNum;
	unsigned int Positive_Cnt,
				 Reverse_Cnt;	
	unsigned char *Buf;
};


void display_reflash(void);

int start_ledShakeDisplay(void);

int stop_ledShakeDisplay(void);

int switchNextImage(void);




#endif


